3.543 \(\int \frac{x^3 (c+d x+e x^2+f x^3)}{(a+b x^4)^{3/2}} \, dx\)

Optimal. Leaf size=297 \[ \frac{\left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} \left (3 \sqrt{a} f+\sqrt{b} d\right ) \text{EllipticF}\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right ),\frac{1}{2}\right )}{4 \sqrt [4]{a} b^{7/4} \sqrt{a+b x^4}}+\frac{e \tanh ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a+b x^4}}\right )}{2 b^{3/2}}+\frac{3 f x \sqrt{a+b x^4}}{2 b^{3/2} \left (\sqrt{a}+\sqrt{b} x^2\right )}-\frac{3 \sqrt [4]{a} f \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{2 b^{7/4} \sqrt{a+b x^4}}-\frac{c+d x+e x^2+f x^3}{2 b \sqrt{a+b x^4}} \]

[Out]

-(c + d*x + e*x^2 + f*x^3)/(2*b*Sqrt[a + b*x^4]) + (3*f*x*Sqrt[a + b*x^4])/(2*b^(3/2)*(Sqrt[a] + Sqrt[b]*x^2))
 + (e*ArcTanh[(Sqrt[b]*x^2)/Sqrt[a + b*x^4]])/(2*b^(3/2)) - (3*a^(1/4)*f*(Sqrt[a] + Sqrt[b]*x^2)*Sqrt[(a + b*x
^4)/(Sqrt[a] + Sqrt[b]*x^2)^2]*EllipticE[2*ArcTan[(b^(1/4)*x)/a^(1/4)], 1/2])/(2*b^(7/4)*Sqrt[a + b*x^4]) + ((
Sqrt[b]*d + 3*Sqrt[a]*f)*(Sqrt[a] + Sqrt[b]*x^2)*Sqrt[(a + b*x^4)/(Sqrt[a] + Sqrt[b]*x^2)^2]*EllipticF[2*ArcTa
n[(b^(1/4)*x)/a^(1/4)], 1/2])/(4*a^(1/4)*b^(7/4)*Sqrt[a + b*x^4])

________________________________________________________________________________________

Rubi [A]  time = 0.199901, antiderivative size = 297, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 8, integrand size = 30, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.267, Rules used = {1823, 1885, 275, 217, 206, 1198, 220, 1196} \[ \frac{\left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} \left (3 \sqrt{a} f+\sqrt{b} d\right ) F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{4 \sqrt [4]{a} b^{7/4} \sqrt{a+b x^4}}+\frac{e \tanh ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a+b x^4}}\right )}{2 b^{3/2}}+\frac{3 f x \sqrt{a+b x^4}}{2 b^{3/2} \left (\sqrt{a}+\sqrt{b} x^2\right )}-\frac{3 \sqrt [4]{a} f \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{2 b^{7/4} \sqrt{a+b x^4}}-\frac{c+d x+e x^2+f x^3}{2 b \sqrt{a+b x^4}} \]

Antiderivative was successfully verified.

[In]

Int[(x^3*(c + d*x + e*x^2 + f*x^3))/(a + b*x^4)^(3/2),x]

[Out]

-(c + d*x + e*x^2 + f*x^3)/(2*b*Sqrt[a + b*x^4]) + (3*f*x*Sqrt[a + b*x^4])/(2*b^(3/2)*(Sqrt[a] + Sqrt[b]*x^2))
 + (e*ArcTanh[(Sqrt[b]*x^2)/Sqrt[a + b*x^4]])/(2*b^(3/2)) - (3*a^(1/4)*f*(Sqrt[a] + Sqrt[b]*x^2)*Sqrt[(a + b*x
^4)/(Sqrt[a] + Sqrt[b]*x^2)^2]*EllipticE[2*ArcTan[(b^(1/4)*x)/a^(1/4)], 1/2])/(2*b^(7/4)*Sqrt[a + b*x^4]) + ((
Sqrt[b]*d + 3*Sqrt[a]*f)*(Sqrt[a] + Sqrt[b]*x^2)*Sqrt[(a + b*x^4)/(Sqrt[a] + Sqrt[b]*x^2)^2]*EllipticF[2*ArcTa
n[(b^(1/4)*x)/a^(1/4)], 1/2])/(4*a^(1/4)*b^(7/4)*Sqrt[a + b*x^4])

Rule 1823

Int[(Pq_)*(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(Pq*(a + b*x^n)^(p + 1))/(b*n*(p + 1)),
x] - Dist[1/(b*n*(p + 1)), Int[D[Pq, x]*(a + b*x^n)^(p + 1), x], x] /; FreeQ[{a, b, m, n}, x] && PolyQ[Pq, x]
&& EqQ[m - n + 1, 0] && LtQ[p, -1]

Rule 1885

Int[(Pq_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Module[{q = Expon[Pq, x], j, k}, Int[Sum[x^j*Sum[Coeff[P
q, x, j + (k*n)/2]*x^((k*n)/2), {k, 0, (2*(q - j))/n + 1}]*(a + b*x^n)^p, {j, 0, n/2 - 1}], x]] /; FreeQ[{a, b
, p}, x] && PolyQ[Pq, x] && IGtQ[n/2, 0] &&  !PolyQ[Pq, x^(n/2)]

Rule 275

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{k = GCD[m + 1, n]}, Dist[1/k, Subst[Int[x^((m
 + 1)/k - 1)*(a + b*x^(n/k))^p, x], x, x^k], x] /; k != 1] /; FreeQ[{a, b, p}, x] && IGtQ[n, 0] && IntegerQ[m]

Rule 217

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a,
b}, x] &&  !GtQ[a, 0]

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 1198

Int[((d_) + (e_.)*(x_)^2)/Sqrt[(a_) + (c_.)*(x_)^4], x_Symbol] :> With[{q = Rt[c/a, 2]}, Dist[(e + d*q)/q, Int
[1/Sqrt[a + c*x^4], x], x] - Dist[e/q, Int[(1 - q*x^2)/Sqrt[a + c*x^4], x], x] /; NeQ[e + d*q, 0]] /; FreeQ[{a
, c, d, e}, x] && PosQ[c/a]

Rule 220

Int[1/Sqrt[(a_) + (b_.)*(x_)^4], x_Symbol] :> With[{q = Rt[b/a, 4]}, Simp[((1 + q^2*x^2)*Sqrt[(a + b*x^4)/(a*(
1 + q^2*x^2)^2)]*EllipticF[2*ArcTan[q*x], 1/2])/(2*q*Sqrt[a + b*x^4]), x]] /; FreeQ[{a, b}, x] && PosQ[b/a]

Rule 1196

Int[((d_) + (e_.)*(x_)^2)/Sqrt[(a_) + (c_.)*(x_)^4], x_Symbol] :> With[{q = Rt[c/a, 4]}, -Simp[(d*x*Sqrt[a + c
*x^4])/(a*(1 + q^2*x^2)), x] + Simp[(d*(1 + q^2*x^2)*Sqrt[(a + c*x^4)/(a*(1 + q^2*x^2)^2)]*EllipticE[2*ArcTan[
q*x], 1/2])/(q*Sqrt[a + c*x^4]), x] /; EqQ[e + d*q^2, 0]] /; FreeQ[{a, c, d, e}, x] && PosQ[c/a]

Rubi steps

\begin{align*} \int \frac{x^3 \left (c+d x+e x^2+f x^3\right )}{\left (a+b x^4\right )^{3/2}} \, dx &=-\frac{c+d x+e x^2+f x^3}{2 b \sqrt{a+b x^4}}+\frac{\int \frac{d+2 e x+3 f x^2}{\sqrt{a+b x^4}} \, dx}{2 b}\\ &=-\frac{c+d x+e x^2+f x^3}{2 b \sqrt{a+b x^4}}+\frac{\int \left (\frac{2 e x}{\sqrt{a+b x^4}}+\frac{d+3 f x^2}{\sqrt{a+b x^4}}\right ) \, dx}{2 b}\\ &=-\frac{c+d x+e x^2+f x^3}{2 b \sqrt{a+b x^4}}+\frac{\int \frac{d+3 f x^2}{\sqrt{a+b x^4}} \, dx}{2 b}+\frac{e \int \frac{x}{\sqrt{a+b x^4}} \, dx}{b}\\ &=-\frac{c+d x+e x^2+f x^3}{2 b \sqrt{a+b x^4}}+\frac{e \operatorname{Subst}\left (\int \frac{1}{\sqrt{a+b x^2}} \, dx,x,x^2\right )}{2 b}-\frac{\left (3 \sqrt{a} f\right ) \int \frac{1-\frac{\sqrt{b} x^2}{\sqrt{a}}}{\sqrt{a+b x^4}} \, dx}{2 b^{3/2}}+\frac{\left (d+\frac{3 \sqrt{a} f}{\sqrt{b}}\right ) \int \frac{1}{\sqrt{a+b x^4}} \, dx}{2 b}\\ &=-\frac{c+d x+e x^2+f x^3}{2 b \sqrt{a+b x^4}}+\frac{3 f x \sqrt{a+b x^4}}{2 b^{3/2} \left (\sqrt{a}+\sqrt{b} x^2\right )}-\frac{3 \sqrt [4]{a} f \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{2 b^{7/4} \sqrt{a+b x^4}}+\frac{\left (\sqrt{b} d+3 \sqrt{a} f\right ) \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{4 \sqrt [4]{a} b^{7/4} \sqrt{a+b x^4}}+\frac{e \operatorname{Subst}\left (\int \frac{1}{1-b x^2} \, dx,x,\frac{x^2}{\sqrt{a+b x^4}}\right )}{2 b}\\ &=-\frac{c+d x+e x^2+f x^3}{2 b \sqrt{a+b x^4}}+\frac{3 f x \sqrt{a+b x^4}}{2 b^{3/2} \left (\sqrt{a}+\sqrt{b} x^2\right )}+\frac{e \tanh ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a+b x^4}}\right )}{2 b^{3/2}}-\frac{3 \sqrt [4]{a} f \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} E\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{2 b^{7/4} \sqrt{a+b x^4}}+\frac{\left (\sqrt{b} d+3 \sqrt{a} f\right ) \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{4 \sqrt [4]{a} b^{7/4} \sqrt{a+b x^4}}\\ \end{align*}

Mathematica [C]  time = 0.128945, size = 181, normalized size = 0.61 \[ \frac{\sqrt{b} d x \sqrt{\frac{b x^4}{a}+1} \, _2F_1\left (\frac{1}{4},\frac{1}{2};\frac{5}{4};-\frac{b x^4}{a}\right )+\sqrt{a} e \sqrt{\frac{b x^4}{a}+1} \sinh ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a}}\right )-2 \sqrt{b} f x^3 \sqrt{\frac{b x^4}{a}+1} \, _2F_1\left (\frac{3}{4},\frac{3}{2};\frac{7}{4};-\frac{b x^4}{a}\right )-\sqrt{b} c-\sqrt{b} d x-\sqrt{b} e x^2+2 \sqrt{b} f x^3}{2 b^{3/2} \sqrt{a+b x^4}} \]

Antiderivative was successfully verified.

[In]

Integrate[(x^3*(c + d*x + e*x^2 + f*x^3))/(a + b*x^4)^(3/2),x]

[Out]

(-(Sqrt[b]*c) - Sqrt[b]*d*x - Sqrt[b]*e*x^2 + 2*Sqrt[b]*f*x^3 + Sqrt[a]*e*Sqrt[1 + (b*x^4)/a]*ArcSinh[(Sqrt[b]
*x^2)/Sqrt[a]] + Sqrt[b]*d*x*Sqrt[1 + (b*x^4)/a]*Hypergeometric2F1[1/4, 1/2, 5/4, -((b*x^4)/a)] - 2*Sqrt[b]*f*
x^3*Sqrt[1 + (b*x^4)/a]*Hypergeometric2F1[3/4, 3/2, 7/4, -((b*x^4)/a)])/(2*b^(3/2)*Sqrt[a + b*x^4])

________________________________________________________________________________________

Maple [C]  time = 0.007, size = 331, normalized size = 1.1 \begin{align*} -{\frac{f{x}^{3}}{2\,b}{\frac{1}{\sqrt{ \left ({x}^{4}+{\frac{a}{b}} \right ) b}}}}+{{\frac{3\,i}{2}}f\sqrt{a}\sqrt{1-{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}\sqrt{1+{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}{\it EllipticF} \left ( x\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}},i \right ){b}^{-{\frac{3}{2}}}{\frac{1}{\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}}}}{\frac{1}{\sqrt{b{x}^{4}+a}}}}-{{\frac{3\,i}{2}}f\sqrt{a}\sqrt{1-{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}\sqrt{1+{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}{\it EllipticE} \left ( x\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}},i \right ){b}^{-{\frac{3}{2}}}{\frac{1}{\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}}}}{\frac{1}{\sqrt{b{x}^{4}+a}}}}-{\frac{e{x}^{2}}{2\,b}{\frac{1}{\sqrt{b{x}^{4}+a}}}}+{\frac{e}{2}\ln \left ({x}^{2}\sqrt{b}+\sqrt{b{x}^{4}+a} \right ){b}^{-{\frac{3}{2}}}}-{\frac{dx}{2\,b}{\frac{1}{\sqrt{ \left ({x}^{4}+{\frac{a}{b}} \right ) b}}}}+{\frac{d}{2\,b}\sqrt{1-{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}\sqrt{1+{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}{\it EllipticF} \left ( x\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}},i \right ){\frac{1}{\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}}}}{\frac{1}{\sqrt{b{x}^{4}+a}}}}-{\frac{c}{2\,b}{\frac{1}{\sqrt{b{x}^{4}+a}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3*(f*x^3+e*x^2+d*x+c)/(b*x^4+a)^(3/2),x)

[Out]

-1/2*f/b*x^3/((x^4+1/b*a)*b)^(1/2)+3/2*I*f/b^(3/2)*a^(1/2)/(I/a^(1/2)*b^(1/2))^(1/2)*(1-I/a^(1/2)*b^(1/2)*x^2)
^(1/2)*(1+I/a^(1/2)*b^(1/2)*x^2)^(1/2)/(b*x^4+a)^(1/2)*EllipticF(x*(I/a^(1/2)*b^(1/2))^(1/2),I)-3/2*I*f/b^(3/2
)*a^(1/2)/(I/a^(1/2)*b^(1/2))^(1/2)*(1-I/a^(1/2)*b^(1/2)*x^2)^(1/2)*(1+I/a^(1/2)*b^(1/2)*x^2)^(1/2)/(b*x^4+a)^
(1/2)*EllipticE(x*(I/a^(1/2)*b^(1/2))^(1/2),I)-1/2*e*x^2/b/(b*x^4+a)^(1/2)+1/2*e/b^(3/2)*ln(x^2*b^(1/2)+(b*x^4
+a)^(1/2))-1/2*d/b*x/((x^4+1/b*a)*b)^(1/2)+1/2*d/b/(I/a^(1/2)*b^(1/2))^(1/2)*(1-I/a^(1/2)*b^(1/2)*x^2)^(1/2)*(
1+I/a^(1/2)*b^(1/2)*x^2)^(1/2)/(b*x^4+a)^(1/2)*EllipticF(x*(I/a^(1/2)*b^(1/2))^(1/2),I)-1/2*c/b/(b*x^4+a)^(1/2
)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} -\frac{c}{2 \, \sqrt{b x^{4} + a} b} + \int \frac{f x^{6} + e x^{5} + d x^{4}}{{\left (b x^{4} + a\right )}^{\frac{3}{2}}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*(f*x^3+e*x^2+d*x+c)/(b*x^4+a)^(3/2),x, algorithm="maxima")

[Out]

-1/2*c/(sqrt(b*x^4 + a)*b) + integrate((f*x^6 + e*x^5 + d*x^4)/(b*x^4 + a)^(3/2), x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (f x^{6} + e x^{5} + d x^{4} + c x^{3}\right )} \sqrt{b x^{4} + a}}{b^{2} x^{8} + 2 \, a b x^{4} + a^{2}}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*(f*x^3+e*x^2+d*x+c)/(b*x^4+a)^(3/2),x, algorithm="fricas")

[Out]

integral((f*x^6 + e*x^5 + d*x^4 + c*x^3)*sqrt(b*x^4 + a)/(b^2*x^8 + 2*a*b*x^4 + a^2), x)

________________________________________________________________________________________

Sympy [A]  time = 17.2315, size = 156, normalized size = 0.53 \begin{align*} c \left (\begin{cases} - \frac{1}{2 b \sqrt{a + b x^{4}}} & \text{for}\: b \neq 0 \\\frac{x^{4}}{4 a^{\frac{3}{2}}} & \text{otherwise} \end{cases}\right ) + e \left (\frac{\operatorname{asinh}{\left (\frac{\sqrt{b} x^{2}}{\sqrt{a}} \right )}}{2 b^{\frac{3}{2}}} - \frac{x^{2}}{2 \sqrt{a} b \sqrt{1 + \frac{b x^{4}}{a}}}\right ) + \frac{d x^{5} \Gamma \left (\frac{5}{4}\right ){{}_{2}F_{1}\left (\begin{matrix} \frac{5}{4}, \frac{3}{2} \\ \frac{9}{4} \end{matrix}\middle |{\frac{b x^{4} e^{i \pi }}{a}} \right )}}{4 a^{\frac{3}{2}} \Gamma \left (\frac{9}{4}\right )} + \frac{f x^{7} \Gamma \left (\frac{7}{4}\right ){{}_{2}F_{1}\left (\begin{matrix} \frac{3}{2}, \frac{7}{4} \\ \frac{11}{4} \end{matrix}\middle |{\frac{b x^{4} e^{i \pi }}{a}} \right )}}{4 a^{\frac{3}{2}} \Gamma \left (\frac{11}{4}\right )} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**3*(f*x**3+e*x**2+d*x+c)/(b*x**4+a)**(3/2),x)

[Out]

c*Piecewise((-1/(2*b*sqrt(a + b*x**4)), Ne(b, 0)), (x**4/(4*a**(3/2)), True)) + e*(asinh(sqrt(b)*x**2/sqrt(a))
/(2*b**(3/2)) - x**2/(2*sqrt(a)*b*sqrt(1 + b*x**4/a))) + d*x**5*gamma(5/4)*hyper((5/4, 3/2), (9/4,), b*x**4*ex
p_polar(I*pi)/a)/(4*a**(3/2)*gamma(9/4)) + f*x**7*gamma(7/4)*hyper((3/2, 7/4), (11/4,), b*x**4*exp_polar(I*pi)
/a)/(4*a**(3/2)*gamma(11/4))

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (f x^{3} + e x^{2} + d x + c\right )} x^{3}}{{\left (b x^{4} + a\right )}^{\frac{3}{2}}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*(f*x^3+e*x^2+d*x+c)/(b*x^4+a)^(3/2),x, algorithm="giac")

[Out]

integrate((f*x^3 + e*x^2 + d*x + c)*x^3/(b*x^4 + a)^(3/2), x)